//
//  meterView.h
//  CommandCenter08
//
//  Created by Matt Roman on 7/18/08.
//  Copyright 2008 University of Oklahoma. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "definitions.h"


@interface meterView : NSView {
	IBOutlet NSLevelIndicator	*voltageLevel;
	IBOutlet NSLevelIndicator	*electronicsCurrentLevel;
	IBOutlet NSLevelIndicator	*motorCurrentLevel;
	IBOutlet NSLevelIndicator	*panelCurrentLevel;
	
	IBOutlet NSTextField		*voltageText;
	IBOutlet NSTextField		*electCurrentText;
	IBOutlet NSTextField		*panelCurrentText;
	IBOutlet NSTextField		*motorCurrentText;
	
	float						*voltage;
	float						*electCurrent;
	float						*panelCurrent;
	float						*motorCurrent;
}

- (id)initLevelViewWithFrame:(NSRect)frameRect andRover:(roverProperties *)rp;
- (void)updateMeterView;

@end
